package com.myshop.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin
@SpringBootApplication
@ComponentScan("com.myshop")
@MapperScan("com.myshop.dao")
public class MyShopApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyShopApplication.class,args);
    }

}
